package com.ize.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ize.entity.dto.AdminLoginDto;
import com.ize.entity.pojo.Doctor;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DoctorMapper extends BaseMapper<Doctor> {

//    @Insert("insert into doctor (username , password) values (#{username},#{password})")
//    void register(Doctor adminLoginDto);

//    @Select("select * from doctor where username=#{username}")
//    Doctor getDocterByUsername(String username);
//
//    @Select("select * from doctor where id=#{currentId}")
//    Doctor getDocterById(Long currentId);
}
